
package com.kweative.model.data;

import com.kweative.type.ICanDoNode;
import com.kweative.type.Node;
import java.util.LinkedList;

/**
 *
 * @author henrik
 */
public class RowSet<R extends Row> extends LinkedList<R> implements ICanDoNode{

	public Node toNode() {
		Node rows = new Node("RowSet");
		for(R row: this) {
			rows.addChild(row.toNode());
		}
		return rows;
	}

}
